package com.manli.api.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * 动态评论
 * 
 * @author manli
 * @email 
 * @date 2020-08-27 09:43:03
 */
@ApiModel(value = "动态评论")
@Data
public class ManliSpaceLog implements Serializable {

	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Integer")
	    private Integer manliSpaceLogId;
	/**
	 * 动态id
	 */

    @ApiModelProperty(value = "动态id（必传）",dataType = "Integer")
	    private Integer spaceId;
	/**
	 * 评论人unionid
	 */

    @ApiModelProperty(value = "评论人unionid",dataType = "String")
	    private String reviewerUnionid;
	/**
	 * 评论人openid
	 */

    @ApiModelProperty(value = "评论人openid",dataType = "String")
	    private String reviewerOpenid;
	/**
	 * 评论内容
	 */

    @ApiModelProperty(value = "评论内容（必传）",dataType = "String")
	    private String reviewContent;
	/**
	 * 点赞数量
	 */

    @ApiModelProperty(value = "点赞数量",dataType = "Integer")
	    private Integer likeCount;
	/**
	 * 被回复人unionid
	 */

    @ApiModelProperty(value = "被回复人unionid（点击别人说话时必传）",dataType = "String")
	    private String respondentUnionid;
	/**
	 * 被回复人openid
	 */

    @ApiModelProperty(value = "被回复人openid",dataType = "String")
	    private String respondentOpenid;
	/**
	 * 创建时间
	 */

    @ApiModelProperty(value = "创建时间",dataType = "Date")
	    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date createTime;

}
